VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles Namespace / ImageFileSource Class / ReadChars Methods / ReadChars(Char[],Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    ReadChars(Char[],Int32,Int32) Method (ImageFileSource)
    In This Topic
    Reads count characters from the stream of the image file with index as the starting point in the character array.
    Syntax
    'Declaration
    
    Public Overloads Function ReadChars( _
    ByVal buffer
    The buffer to read data into.
    () As Char, _
    ByVal offset
    The starting point in the buffer at which to begin reading into the buffer.
    As System.Int32, _
    ByVal count
    The number of characters to read.
    As System.Int32 _
    ) As System.Int32
    public System.Int32 ReadChars(
    char[] buffer,
    System.Int32 offset,
    System.Int32 count
    )
    public: System.Int32 ReadChars(
    char[]* buffer,
    System.Int32 offset,
    System.Int32 count
    )
    public:
    System.Int32 ReadChars(
    array<char>^ buffer,
    System.Int32 offset,
    System.Int32 count
    )

    Parameters

    buffer
    The buffer to read data into.
    offset
    The starting point in the buffer at which to begin reading into the buffer.
    count
    The number of characters to read.

    Return Value

    The total number of characters read into the buffer. This might be less than the number of characters requested if that many characters are not currently available, or it might be zero if the end of the stream is reached.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also